Skip to content

[setup] add Cursor Cloud development environment instructions#4

Draft
honghaoz wants to merge 1 commit intomasterfrom
cursor/development-environment-setup-4454
Draft

[setup] add Cursor Cloud development environment instructions#4
honghaoz wants to merge 1 commit intomasterfrom
cursor/development-environment-setup-4454

Conversation

@honghaoz
Copy link
Copy Markdown
Owner

Summary

Adds Cursor Cloud specific instructions to AGENTS.md to document the Linux development environment setup for future cloud agents.

What changed

  • Added ## Cursor Cloud specific instructions section to AGENTS.md covering:
    • Environment limitations (Apple-only frameworks prevent swift build/swift test on Linux)
    • What works: linting (make lint, make format) with SwiftFormat 0.59.1 and SwiftLint 0.63.2
    • What doesn't work: building and testing (requires macOS + Xcode)
    • Linting tool setup notes (binaries are gitignored, downloaded automatically)
    • Key gotcha: bc dependency for scripts/lint.sh

Environment setup

  • Swift: 6.0.3 toolchain (backwards compatible with Swift 5.9 tools-version)
  • SwiftFormat: 0.59.1 (Linux x86_64 binary)
  • SwiftLint: 0.63.2 (Linux AMD64 binary)
  • OS: Ubuntu 24.04 x86_64

Tests run

  • make lint — SwiftFormat and SwiftLint both execute successfully
  • swift --version — confirms Swift 6.0.3 installed
  • bin/swiftformat --version — confirms 0.59.1
  • bin/swiftlint version — confirms 0.63.2
Open in Web Open in Cursor 

Co-authored-by: Honghao <m@honghao.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants